# -*- coding: utf-8 -*-
"""
 @Time    : 2021/2/24 下午6:17
 @Author  : tgy
 
"""

class Person:

    def __init__(self,name):
        self._name = name


    @property
    def name(self):
        return self._name


    @name.setter
    def name(self, name):
        self._name = name




class Student(Person):
    ...
    def __init__(self,name):
        # Person.__init__(self,name)
        super(Student, self).__init__(name)
        print(super(Student, Student).name)


if __name__ == '__main__':
    ...
    stu = Student('zhangsan')
    print(stu.name)